package com.xiaocheng.core.factory;

import static org.junit.Assert.*;

import org.junit.Test;
/**
 * 
* @ClassName: FactoryTest 
* @Description: 测试类
* @author 高亚鹏
* @date 2018年5月11日 下午10:36:13 
*
 */
public class FactoryTest {

	@Test
	public void test() throws InstantiationException, IllegalAccessException {
		Factory<MyTest> factory = new Factory<MyTest>(MyTest.getMyTest());
		MyTest myTest = factory.getBean();
		myTest.syso();
	}

}
